package router

import (
	ControllerMobile "go-toy/app/controller/mobile"

	"github.com/gin-gonic/gin"
)

func RegisterMobileRoutes(ge *gin.Engine) {
	// register mobile routes
	mobile := ge.Group("/")
	{
		// register user routes
		mobile.GET("/users", ControllerMobile.UserControllerInstance.GetUsers)

		// register spider routes
		mobile.GET("/spiders", ControllerMobile.SpiderControllerinstance.List)
		mobile.GET("/spider", ControllerMobile.SpiderControllerinstance.Info)
	}

}
